package com.trg.designmodel.factory.methodfactory.pizza;

/**
 * @ClassName: BJPepperPizza
 * @Description:
 * @Author: tangrg
 * @Date: 2021/7/1 14:44
 * @Version: 1.0
 * @Return:
 **/
public class BJPepperPizza extends Pizza {

    @Override
    public void prepare() {
        setName("胡椒");
        System.out.println("北京【胡椒】披萨");
    }
}
